import {
	createRouter,
	createWebHashHistory
} from 'vue-router'
import BlogPage from '@/components/pages/BlogPage.vue';
import OfferPage from '@/components/pages/OfferPage.vue';
import GoodsPage from '@/components/pages/GoodsPage.vue';
import MessagePage from '@/components/pages/MessagePage.vue';
import PersonalPage from '@/components/pages/PersonalPage.vue';
const routes = [{
		path: '/blog',
		name: 'blog',
		component: BlogPage
	},
	{
		path: '/goods',
		name: 'goods',
		component: GoodsPage
			
	},
	{
		path: '/user',
		name: 'user',
		component: PersonalPage
			
	},
	{
		path: '/',
		name: 'offer',
		component: OfferPage
			
	},
	{
		path: '/message',
		name: 'message',
		component: MessagePage
			
	}
]
const router = createRouter({
	history: createWebHashHistory(),
	routes
})
export default router